package com.ygou.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
public class Goods {
    private Integer goodsid;

    private String goddstitle;

    private Long goodstypeid;
    
    private GoodsType type;
    
    public GoodsType getType() {
		return type;
	}

	public void setType(GoodsType type) {
		this.type = type;
	}

	private String goodsthums;

    private Integer collectnum;

    private Integer lovenum;

    private BigDecimal trueprice;

    private BigDecimal saleprice;

    private Byte issale;

    private Byte isbest;

    private Byte ishot;

    private Byte isnew;

    private Integer sale;

    private Integer stock;

    private Integer goodsscore;

    private Date createtime;

    private Date lasttime;
    
    private String goodsdesc;
    
    /**
     * 商品图片数组
     */
    private String[] imgs;
    /**
     * sku库存数组
     */
    private List<Skus> skus;
    
    public String[] getImgs() {
		return imgs;
	}

	public void setImgs(String[] imgs) {
		this.imgs = imgs;
	}
	
	public List<Skus> getSkus() {
		return skus;
	}

	public void setSkus(List<Skus> skus) {
		this.skus = skus;
	}

	public String getGoodsdesc() {
		return goodsdesc;
	}

	public void setGoodsdesc(String goodsdesc) {
		this.goodsdesc = goodsdesc;
	}

	public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public String getGoddstitle() {
        return goddstitle;
    }

    public void setGoddstitle(String goddstitle) {
        this.goddstitle = goddstitle == null ? null : goddstitle.trim();
    }
    public Long getGoodstypeid() {
        return goodstypeid;
    }

    public void setGoodstypeid(Long goodstypeid) {
        this.goodstypeid = goodstypeid;
    }

    public String getGoodsthums() {
        return goodsthums;
    }

    public void setGoodsthums(String goodsthums) {
        this.goodsthums = goodsthums == null ? null : goodsthums.trim();
    }

    public Integer getCollectnum() {
        return collectnum;
    }

    public void setCollectnum(Integer collectnum) {
        this.collectnum = collectnum;
    }

    public Integer getLovenum() {
        return lovenum;
    }

    public void setLovenum(Integer lovenum) {
        this.lovenum = lovenum;
    }

    public BigDecimal getTrueprice() {
        return trueprice;
    }

    public void setTrueprice(BigDecimal trueprice) {
        this.trueprice = trueprice;
    }

    public BigDecimal getSaleprice() {
        return saleprice;
    }

    public void setSaleprice(BigDecimal saleprice) {
        this.saleprice = saleprice;
    }

    public Byte getIssale() {
        return issale;
    }

    public void setIssale(Byte issale) {
        this.issale = issale;
    }

    public Byte getIsbest() {
        return isbest;
    }

    public void setIsbest(Byte isbest) {
        this.isbest = isbest;
    }

    public Byte getIshot() {
        return ishot;
    }

    public void setIshot(Byte ishot) {
        this.ishot = ishot;
    }

    public Byte getIsnew() {
        return isnew;
    }

    public void setIsnew(Byte isnew) {
        this.isnew = isnew;
    }

    public Integer getSale() {
        return sale;
    }

    public void setSale(Integer sale) {
        this.sale = sale;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getGoodsscore() {
        return goodsscore;
    }

    public void setGoodsscore(Integer goodsscore) {
        this.goodsscore = goodsscore;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLasttime() {
        return lasttime;
    }

    public void setLasttime(Date lasttime) {
        this.lasttime = lasttime;
    }
}